package com.example.yc.pojo;

import org.apache.xmlbeans.impl.xb.xsdschema.Public;

import java.io.Serializable;

public class Json  implements Serializable {



    public String msg;
    public Object obj;
    public boolean success;

    public Json() {
    }

    public Json(String msg, Object obj, boolean success) {
        this.msg = msg;
        this.obj = obj;
        this.success = success;
    }



    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getObj() {
        return obj;
    }

    public void setObj(Object obj) {
        this.obj = obj;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    @Override
    public String toString() {
        return "{" +
                "msg='" + msg + '\'' +
                ", obj=" + obj +
                ", success=" + success +
                '}';
    }
}
